package com.ccm.demo.dao;

import com.ccm.demo.model.SysRole;

import java.util.List;

/**
 * Created by com.ccm.demo.springbootsecurity.MybatisCodeGenerate on 2018-05-03
 */
public interface SysRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    void insert(SysRole record);

    void insertSelective(SysRole record);

    void insertBatch(List<SysRole> records);

    SysRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

	List<SysRole> selectByMenuId(Integer menuId);

    List<SysRole> selectByUserId(Integer sysId);
}